package com.nyist.springcloud.service;

import com.nyist.springcloud.entities.Payment;

import java.util.List;

/**
 * @author yangxiaogen
 * @date 2021/1/21 14:28
 */
public interface PaymentService {

    Payment insertPay(Payment payment);

    List<Payment> queryPayments();

    Payment queryPaymentById(String id);

    Payment queryPaymentByName(String name);
}
